package com.cskaoyan.bean;
/**
 * 
 * 创建日期: 2022/05/07 16:58
 * @author wangyonghong
 */
 
public class Login {

    /**
     * userInfo : {"avatarUrl":"","nickName":"user123"}
     * token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0aGlzIGlzIG1hcmtldCB0b2tlbiIsImF1ZCI6Ik1JTklBUFAiLCJpc3MiOiJNQVJLRVQiLCJleHAiOjE2NTE5MjEwMTgsInVzZXJJZCI6MSwiaWF0IjoxNjUxOTEzODE4fQ.QldMJeyeyra-ra7u0TbWe5cOrVX640oKp8QQIUwnPHg
     */
    private UserInfoEntity userInfo;
    private String token="user";

    public Login(LoginInfo loginInfo) {

    }

    public void setUserInfo(UserInfoEntity userInfo) {
        this.userInfo = userInfo;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UserInfoEntity getUserInfo() {
        return userInfo;
    }

    public String getToken() {
        return token;
    }

    public class UserInfoEntity {
        /**
         * avatarUrl :
         * nickName : user123
         */
        private String avatarUrl="user";
        private String nickName="user";

        public void setAvatarUrl(String avatarUrl) {
            this.avatarUrl = avatarUrl;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getAvatarUrl() {
            return avatarUrl;
        }

        public String getNickName() {
            return nickName;
        }
    }
}
